a406bf3d2ed056ad74d5e9f8f80261a15e27aeb6,portal-service/src/com/liferay/portlet/social/model/BaseSocialActivityInterpreter.java,BaseSocialActivityInterpreter,getLink,#SocialActivity#ServiceContext#,287

Before Change


		if ((trashHandler != null) && (trashHandler.isInTrash(classPK) ||
			trashHandler.isInTrashContainer(classPK))) {

			return TrashUtil.getViewContentURL(
				getClassName(activity), classPK,
				serviceContext.getThemeDisplay());
		}

		StringBundler sb = new StringBundler(4);

After Change


		if ((trashHandler != null) && (trashHandler.isInTrash(classPK) ||
			trashHandler.isInTrashContainer(classPK))) {

			PortletURL portletURL = TrashUtil.getViewContentURL(
				getClassName(activity), classPK, serviceContext.getRequest());

			return portletURL.toString();
		}

		StringBundler sb = new StringBundler(4);